ThinkPHP5


think\exception\ValidateException
library\think\exception\ValidateException.php at line 14

Class ValidateException

\RuntimeException
└─ValidateException

public class ValidateException
extends \RuntimeException


Constructor Summary
void

__construct(mixed error)

Method Summary
array|string

getError()

获取验证错误信息

Constructor Detail

library\think\exception\ValidateException.php at line 18

__construct

public void __construct(mixed error)

Method Detail

library\think\exception\ValidateException.php at line 29

getError

public array|string getError()

获取验证错误信息


ThinkPHP5